@include('home\header')
<script type="text/javascript">
        $(document).ready(function() {
            $(".dropdown img.flag").addClass("flagvisibility");

            $(".dropdown dt a").click(function() {
                $(".dropdown dd ul").toggle();
            });

            $(".dropdown dd ul li a").click(function() {
                var text = $(this).html();
                $(".dropdown dt a span").html(text);
                $(".dropdown dd ul").hide();
                $("#result").html("Selected value is: " + getSelectedValue("sample"));
            });

            function getSelectedValue(id) {
                return $("#" + id).find("dt a span.value").html();
            }

            $(document).bind('click', function(e) {
                var $clicked = $(e.target);
                if (! $clicked.parents().hasClass("dropdown"))
                    $(".dropdown dd ul").hide();
            });

            $("#flagSwitcher").click(function() {
                $(".dropdown img.flag").toggleClass("flagvisibility");
            });
        });
     </script>
 </head>
<body>
@include('home\nav')
     <div class="main">
      <div class="shop_top">
	     <div class="container">
						<form action="" method="post"> 
								{{csrf_field()}}
								<div class="row">
										<h3>个人信息</h3>
										<div class="col-md-6">
											<span>帐号<label>*</label></span>
											<input class="form-control" type="text" name="name" placeholder="{{$errors->first('name')}}" > 
										</div>
										<div class="col-md-6">
											<span>Email<label>*</label></span>
											<input class="form-control" type="email" name="email" placeholder="{{$errors->first('email')}}"> 
										</div>
										<div class="col-md-6">
											<span>密码<label>*</label></span>
											<input class="form-control" type="password" name="password" placeholder="{{$errors->first('password')}}">
										</div>
										<div class="col-md-6">
											<span>确认密码<label>*</label></span>
											<input class="form-control" type="password" name="password_confirmation" placeholder="{{$errors->first('password_confirmation')}}">
										</div>
										<div class="clear"> </div>
											<a class="news-letter col-md-6" href="#" >
												<label class="checkbox"><input type="checkbox" name="checkbox" checked=""><i> </i>Sign Up for Newsletter</label>
											</a>
										<div class="clear"> </div>
								</div>
								<div class="clear"> </div>
								<input class="btn btn-default btn-lg" type="submit" value="Go">
						</form>
					</div>
		   </div>
	  </div>
@include('home\footer')